package cn.briarbear.myblog.entity.dto;

import cn.briarbear.myblog.entity.table.About;

public class AboutModifyForm {

    private Integer id;

    private String title;

    private String mdContent;
    private String htmlContent;

    public AboutModifyForm() {
    }

    public AboutModifyForm(About about) {
        this.id = about.getId();
        this.title = about.getTitle();
        this.htmlContent = about.getHtmlContent();
        this.mdContent = about.getMdContent();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getMdContent() {
        return mdContent;
    }

    public void setMdContent(String mdContent) {
        this.mdContent = mdContent;
    }

    public String getHtmlContent() {
        return htmlContent;
    }

    public void setHtmlContent(String htmlContent) {
        this.htmlContent = htmlContent;
    }
}
